package com.example.demo;

import org.junit.Test;

import java.util.UUID;

/**
 *
 * @author youshang
 * @date 2021/02/19 09:51
 **/
public class FinalEntry {

    public final static String name = "张三";
    public static String sex = "男";
    public Integer age = 19;


    static {
        System.out.println("FinalEntry 被调用了");
    }


    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getAge() {
        return age;
    }

    public static String getpName() {
        System.out.println("静态变量");
        return "zs";
    }
}
